<?php

class Processing {
	
	static function rInt($var,$min=0,$max=4294967296) { return filter_var($var,FILTER_VALIDATE_INT); }
	static function rBool($var) { return filter_var($var,FILTER_VALIDATE_BOOLEAN); }
	static function rStr($var) { return filter_var($var,FILTER_SANITIZE_MAGIC_QUOTES); }
}

?>